#include <graphics.h>
#include "DeclareFile.h"

void StartGame() {
	FlushMillisecond++;
	if (FlushMillisecond >= 2500) {  //每2500毫秒刷新一次
		FlushMillisecond = 0;
		cleardevice();
	}
	BeginBatchDraw();
	UpdateBg();
	ShowHero();
	UpdateBloodBar();
	CheckOver();
	CreatMonster();
	CrossLine();
	FlushBatchDraw();
}